package com.dyh.hissystem.configuration;

import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: daiyuhua
 * @Description: Swagger配置类
 * @Date: 2024/11/2 13:41
 */

@Configuration
public class SwaggerConfig {
    @Bean
    public OpenAPI hisSystemApi() {
        return new OpenAPI().info(new Info().title("医院信息管理系统API").version("1.0").description("医院信息管理系统API"));
    }
}
